Skip to content

Fix WebUI Changelog Check Approval#413

Merged
Martinski4GitHub merged 2 commits intoWebFunfrom
ExtremeFiretop-Changelog_Approval
Feb 21, 2025
Merged

Fix WebUI Changelog Check Approval#413
Martinski4GitHub merged 2 commits intoWebFunfrom
ExtremeFiretop-Changelog_Approval

Conversation

@ExtremeFiretop
Copy link
Owner

@ExtremeFiretop ExtremeFiretop commented Feb 21, 2025

Hey @Martinski4GitHub

Recently reviewed the changelog approval status code and noticed a bug which I fixed below.
Also wanted to change some of the behavior of the WebUI button so I added some new logic.

Below is examples of everything working as expected:

  • High risk detected on script load (as normal):
    image

  • WebUI detects blocked changelog to approve:
    image

  • Once approved, we give the option to block again (same as the core shell script):
    image

Fix WebUI Changelog Check Approval
;;
"${SCRIPT_NAME}approvechangelog")
local currApprovalStatus="$(Get_Custom_Setting "FW_New_Update_Changelog_Approval")"
currApprovalStatus="$(Get_Custom_Setting "FW_New_Update_Changelog_Approval")"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fix, with the "local" it didn't work correctly.

Update_Custom_Settings "FW_New_Update_Changelog_Approval" "BLOCKED"
fi
;;
"${SCRIPT_NAME}blockchangelog")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Net-new logic for review.

@ExtremeFiretop ExtremeFiretop added bug Something isn't working enhancement New feature or request labels Feb 21, 2025
@ExtremeFiretop
Copy link
Owner Author

@Martinski4GitHub

This was the last thing on my to-do list to test and review (the Changelog approval)

After the small bug fix and additional logic I'm happy with it's behavior. Please review whenever you get a chance and advise.

Once this is merged in I think we are officially ready for beta testing on my side!

Copy link
Collaborator

@Martinski4GitHub Martinski4GitHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go!

@Martinski4GitHub Martinski4GitHub merged commit e7d4955 into WebFun Feb 21, 2025
3 checks passed
@Martinski4GitHub
Copy link
Collaborator

@Martinski4GitHub

This was the last thing on my to-do list to test and review (the Changelog approval)

After the small bug fix and additional logic I'm happy with it's behavior. Please review whenever you get a chance and advise.

Once this is merged in I think we are officially ready for beta testing on my side!

Yeah, I think now we're down to the last couple of "touch-ups" to make the Beta release as good as we can make it at this point. I have nothing else on my to-do list, but I'm waiting for my friend to do his validation & report back with feedback.

@ExtremeFiretop
Copy link
Owner Author

@Martinski4GitHub
This was the last thing on my to-do list to test and review (the Changelog approval)
After the small bug fix and additional logic I'm happy with it's behavior. Please review whenever you get a chance and advise.
Once this is merged in I think we are officially ready for beta testing on my side!

Yeah, I think now we're down to the last couple of "touch-ups" to make the Beta release as good as we can make it at this point. I have nothing else on my to-do list, but I'm waiting for my friend to do his validation & report back with feedback.

Ah okay, no worries! We shall wait and see if anyone finds anything else!

@ExtremeFiretop ExtremeFiretop deleted the ExtremeFiretop-Changelog_Approval branch February 23, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants